﻿<div class="modal fade" id="modal-default" style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
                <h4 class="modal-title">填写发货信息</h4>
            </div>
            <form id="UpdateLogistics" class="form-horizontal" method="post" action="~/Order/UpdateLogistics">
                @Html.AntiForgeryToken()
                <input id="order_id" name="order_id" type="hidden" value="" />
                <div class="modal-body">
                    <div class="box-body">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">快递公司</label>
                            <div class="col-sm-10">
                                <select class="form-control" id="logistics_name" name="logistics_name">
                                    @foreach (var item in ViewBag.Logistics)
                                    {
                                        var sss = item.logistics_name + "," + item.logistics_telephone;
                                        <option value="@sss"> @item.logistics_name</option>
                                    }
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">运单号</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="waybill_no" name="waybill_no" placeholder="运单号">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default pull-left" data-dismiss="modal">关闭</button>
                    <button type="button" onclick="UpdateLogistics()" class="btn btn-primary">保存</button>
                </div>
            </form>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
